<template>
	<view class="center">
		<view class="title">
			提现成功
		</view>
		<view class="price">
			¥ {{amount}}
		</view>
		<view class="tip">
			可在"微信支付-服务-钱包-账单"查看明细
		</view>
		<view class="btn" @click="handleJump">
			返回列表
		</view>
	</view>
</template>

<script setup>
	import {
		ref
	} from 'vue'
	import {
		onLoad
	} from '@dcloudio/uni-app'
	const handleJump = () => {
		uni.redirectTo({
			url: '/pagesA/cashDetail/cashDetail'
		})
	}
	const amount = ref(0)
	onLoad((options) => {
		if (options.amount) {
			amount.value = options.amount
		}
	})
</script>

<style lang="less">
	.center {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;

		.title {
			margin-top: 80rpx;
			font-size: 34rpx;
		}

		.price {
			margin-top: 50rpx;
			font-size: 60rpx;
			font-weight: bold;
		}

		.tip {
			margin-top: 50rpx;
			font-size: 24rpx;
		}

		.btn {
			margin-top: 250rpx;
			width: 400rpx;
			height: 80rpx;
			line-height: 80rpx;
			text-align: center;
			background: #EE7930;
			;
			// border: 1rpx solid ;
			color: #fff;
			border-radius: 15rpx;
		}
	}
</style>